MercadoPago\Woocommerce\Hooks\Order A

Total Complexity 70
Dependencies 23
Dependents 3
Total lines 667
Lines of code 359
Logical lines of code 185
Comment lines 139
Methods 23
Properties 16

Methods 23

Method Rating Maintainability Complexity Lines of code
updateMetadataIfStatusChanged()
A
43 13 48
getMetaboxData()
A
40 9 64
getLastPaymentInfo()
S
55 7 20
registerSyncPendingStatusOrdersAction()
S
46 5 43
isRefundMetadataUpToDate()
S
52 6 24
registerStatusSyncMetabox()
S
54 6 22
syncOrderStatus()
S
56 3 19
hasRefundedPayments()
S
66 4 8
paymentStatusSync()
S
55 2 21
__construct()
S
54 1 21
selectSyncPendingStatusOrdersCron()
S
66 2 9
loadScripts()
S
61 1 14
setPixMetadata()
S
62 1 11
hasMultiplePayments()
S
80 1 3
registerMetaBox()
S
76 1 4
addMetaBox()
S
73 1 5
registerOrderDetailsAfterOrderTable()
S
80 1 3
registerEmailBeforeOrderTable()
S
80 1 3
registerAdminOrderTotalsAfterTotal()
S
80 1 3
addOrderNote()
S
79 1 3
setTicketMetadata()
S
72 1 5
sendEventOnAction()
S
79 1 3
sendEventOnSelect()
S
80 1 3